module.exports = {
    // 选项...
    publicPath: './',
    outputDir: 'dist',
    assetsDir: 'static',
    devServer:{
      proxy:{
        '/oct-atwork/': {
          target: 'http://workplusdev.chinaoct.com:9010',
          secure: false,
          changeOrigin: true
        },
        '/station/':{
          target: 'http://localhost:8570',
          secure: false,
          changeOrigin: true
        }
      }
    },
    configureWebpack: config => {
       config.entry.app = ["babel-polyfill", "./src/main.js"];
    }
}
